MailPoet\Config\Populator C

Total Complexity 120
Dependencies 38
Dependents 3
Total lines 853
Lines of code 748
Logical lines of code 290
Comment lines 25
Methods 31
Properties 10

Methods 31

Method Rating Maintainability Complexity Lines of code
migrateFormPlacement()
C
35 26 84
createDefaultSettings()
B
37 18 72
addPlacementStatusToForms()
B
44 19 43
createMailPoetPage()
S
51 6 27
newsletterOptionFields()
S
40 1 91
__construct()
S
37 1 90
populate()
S
52 5 26
createDefaultUsersFlags()
S
56 5 18
moveGoogleAnalyticsFromPremium()
S
51 3 30
updateMetaFields()
S
61 3 12
pauseTasksForPausedNewsletters()
S
53 2 25
removeDuplicates()
S
56 2 18
createDefaultSegment()
S
57 2 17
createOrUpdateUserFlag()
S
58 2 15
newsletterTemplates()
S
59 2 15
updateLastSubscribedAt()
S
61 2 13
scheduleTask()
S
61 2 13
updateSentUnsubscribeLinksToInstantUnsubscribeLinks()
S
61 2 13
up()
S
53 1 25
createSourceForSubscribers()
S
56 1 21
scheduleSubscriberLastEngagementDetection()
S
65 2 9
scheduleAuthorizedSendingEmailsCheck()
S
66 2 9
scheduleBeamer()
S
68 2 8
enableStatsNotificationsForAutomatedEmails()
S
66 2 8
detectReferral()
S
82 1 3
rowExists()
S
63 1 10
scheduleSubscriberLinkTokens()
S
72 1 6
insertRow()
S
70 1 7
scheduleInitialInactiveSubscribersCheck()
S
72 1 6
updateRow()
S
69 1 8
scheduleUnsubscribeTokens()
S
72 1 6